<?php
	// read Session (needed for MGI Service and to show Routes)
	session_start();
	// we want to create an image
	header("Content-type: image/gif");
	clearstatcache();
	// output the image Data saved in the session
	print base64_decode($_SESSION['IMG']);
	// destroy the session
	session_destroy();
?>